package com.bcx.crm.spring.aop;

import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by ys on 2017/12/24.
 */
@Component
public class Artist implements Performance {
    @Override
    public String performance(String name, List<Object> list) {
        System.out.println(name+"开始表演");
        list.add("表演1");
//        throw new IllegalStateException("测试throw异常");
        return name+"performance返回值";
    }
}
